package com.vasthu.api.dao;

import com.vasthu.api.domain.User;
import java.util.*;
import java.sql.*;

public interface UserDAO {

    public boolean insertUser(User user);

    public User getUserById(long userId);
    
    public User getUserByUserName(String uName);

    public boolean deleteUserById(long userId);

    public List<User> getAllUsers();

    public boolean updateUser(User user);
}